### Accounts

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-account` | Create a single account in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/create-account.ts) |
| `update-account` | Update a single account in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/update-account.ts) |
| `delete-account` | Delete a single account in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/delete-account.ts) |
| `accounts` | Fetches a list of accounts from salesforce | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/syncs/accounts.ts) |

### Contacts

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-contact` | Create a single contact in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/create-contact.ts) |
| `update-contact` | Update a single contact in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/update-contact.ts) |
| `delete-contact` | Delete a single contact in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/delete-contact.ts) |
| `contacts` | Fetches a list of contacts from salesforce | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/syncs/contacts.ts) |

### Leads

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-lead` | Create a single lead in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/create-lead.ts) |
| `update-lead` | Update a single lead in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/update-lead.ts) |
| `delete-lead` | Delete a single lead in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/delete-lead.ts) |
| `leads` | Fetches a list of leads from salesforce | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/syncs/leads.ts) |

### Opportunities

| Function name | Description | Type | Source code |
| - | - | - | - |
| `create-opportunity` | Create a single opportunity in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/create-opportunity.ts) |
| `update-opportunity` | Update a single opportunity in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/update-opportunity.ts) |
| `delete-opportunity` | Delete a single opportunity in salesforce | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/delete-opportunity.ts) |
| `opportunities` | Fetches a list of opportunities from salesforce | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/syncs/opportunities.ts) |

### Users

| Function name | Description | Type | Source code |
| - | - | - | - |
| `whoami` | Fetch current user information | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/whoami.ts) |

### Others

| Function name | Description | Type | Source code |
| - | - | - | - |
| `fetch-fields` | Fetch available task fields, child relationships and validation rules. If the input is not specified then it defaults back to "Task" Data Validation: Parses all incoming data with Zod. Does not fail on parsing error will instead log parse error and return result. | [Action](/guides/use-cases/actions) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/actions/fetch-fields.ts) |
| `articles` | Fetches a list of articles from salesforce | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/syncs/articles.ts) |
| `tickets` | Fetches a list of tickets from salesforce | [Sync](/guides/use-cases/syncs) | [🔗 Github](https://github.com/NangoHQ/integration-templates/blob/main/integrations/salesforce/syncs/tickets.ts) |